package com.suirich.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.suirich.bean.JobReference;
import com.suirich.common.Page;
import com.suirich.service.BaseService;
import com.suirich.service.JobReferenceService;

@Service
@Transactional
public class JobReferenceServiceImpl extends BaseService implements JobReferenceService {

	public void create(JobReference jobReference) {
		this.jobReferenceDao.create(jobReference);
	}

    public void saveOrUpdate(JobReference jobReference) {
        this.jobReferenceDao.saveOrUpdate(jobReference);
    }
    
	public JobReference read(Long id) {
		return this.jobReferenceDao.read(id);
	}

	public void delete(JobReference jobReference) {
		this.jobReferenceDao.delete(jobReference);
	}

	public List<JobReference> getJobReferenceList(Page page) {
		return this.jobReferenceDao.getJobReferenceList(page);
	}

	public Long getJobReferenceListCount() {
		return this.jobReferenceDao.getJobReferenceListCount();
	}

    public void update(JobReference jobReference) {
        this.jobReferenceDao.update(jobReference);
    }


}
